#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
多任务处理库包
"""

# 从子模块导入主要类和函数
from .logger import Logger, debug, info, warning, error, critical, log_exception, default_logger
from .task_manager import TaskStatus, Task, TaskManager
from .db_operations import DatabaseError, ConnectionError, TimeoutError, DataIntegrityError
from .db_operations import mock_fetch_data, mock_insert_data, mock_verify_data

# 定义包的公共API
__all__ = [
    # 日志相关
    'Logger',
    'debug',
    'info', 
    'warning',
    'error',
    'critical',
    'log_exception',
    'default_logger',
    # 任务管理相关
    'TaskStatus',
    'Task', 
    'TaskManager',
    # 数据库操作相关
    'DatabaseError',
    'ConnectionError',
    'TimeoutError',
    'DataIntegrityError',
    'mock_fetch_data',
    'mock_insert_data',
    'mock_verify_data'
]